﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Uploader.ascx.cs" Inherits="Members_Uploader" %>
Chọn file Upload:
<asp:FileUpload ID="fileUpload" runat="server" Width="283px" /><br />
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" CssClass="Buttons"/>
&nbsp;
<asp:Label ID="lblResult" runat="server" ForeColor="Red" Visible="False"></asp:Label><br />
<hr /><br />
<table style="width: 680px" cellpadding="0" cellspacing="0">
    <tr>
        <td style="height: 24px">
            <asp:Label ID="Label1" runat="server" Font-Bold="False" Text="Danh sách hình ảnh: "></asp:Label></td>
        <td align="right" style="height: 24px">
            <asp:DropDownList ID="ddlSort" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlSort_SelectedIndexChanged">
                <asp:ListItem Value="Time">Xắp xếp theo Thời gian</asp:ListItem>
                <asp:ListItem Value="Name">Xắp xếp theo T&#234;n</asp:ListItem>
                <asp:ListItem Value="Size">Xắp xếp theo K&#237;ch cỡ</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
</table>
<asp:Panel ID="Panel1" runat="server" Height="340px" ScrollBars="Auto" Width="680px">
<asp:DataList ID="dtlImages" runat="server" RepeatColumns="4" OnItemDataBound="dtlImages_ItemDataBound" GridLines="Both" RepeatDirection="Horizontal" Width="97%">
    <ItemTemplate>
        &nbsp;<table width="100%">
            <tr>
                <td align="center">
                    <asp:Image ID="image" runat="server" Width="100px" /></td>
            </tr>
            <tr>
                <td align="center">
                    <asp:RadioButton ID="radFile" runat="server" OnCheckedChanged="radFile_CheckedChanged" Font-Size="10pt" AutoPostBack="True" /><br />
                    <em><span style="font-size: 10pt">Size: </span></em>
                    <asp:Label ID="lblSize" runat="server" Font-Italic="True" Font-Size="10pt"></asp:Label><span
                        style="font-size: 10pt"><em> Byte</em><br />
                    <em>Date: </em></span>
                    <asp:Label ID="lblDate" runat="server" Font-Italic="True" Font-Size="10pt"></asp:Label></td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList></asp:Panel>
<br />
<input id="btnOK" type="button" runat="server" value="Hoàn thành và Quay lại" style="width: 151px" class="Buttons" />

<input id="btnCancel" type="button" runat="server" value="Đóng lại" style="width: 56px" class="Buttons"/>
